<?php
/**
 * Created by PhpStorm.
 * User: syzx
 * Date: 2011/1/1
 * Time: 0:48
 */

function huoQuKuoZhanMing($wenjianming){
    $a=explode(".",$wenjianming);

return $a[1];
}
$wenjianming = "ada.jpg";
echo(huoQuKuoZhanMing(($wenjianming)));
?>
